package com.atguigu.lease.web.admin.service.impl;

import com.atguigu.lease.web.admin.vo.attr.AttrKeyVo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.lease.model.entity.AttrValue;
import com.atguigu.lease.web.admin.service.AttrValueService;
import com.atguigu.lease.web.admin.mapper.AttrValueMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liubo
 * @description 针对表【attr_value(房间基本属性值表)】的数据库操作Service实现
 * @createDate 2023-07-24 15:48:00
 */
@Service
public class AttrValueServiceImpl extends ServiceImpl<AttrValueMapper, AttrValue>
        implements AttrValueService {
    @Autowired
    private AttrValueMapper attrValueMapper;
    /**
     * 查询全部属性名称和属性值列表
     *
     * @return
     */
    @Override
    public List<AttrKeyVo> listAll() {
        return attrValueMapper.listAll();
    }
}




